package com.syas.dao.daos;

import com.syas.base.dao.daos.EntityDao;
import com.syas.dao.interfaces.IAmortcoetDao;
import com.syas.model.models.Amortcoet;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by weigong on 2015/12/5.
 */
@Repository("AmortcoetDao")
public class AmortcoetDao  extends EntityDao<Integer, Amortcoet> implements IAmortcoetDao {


    @Override
    public List<Amortcoet> getAmortcoetList() {
        return (List<Amortcoet>)this.getSession().createQuery("from Amortcoet").list();
    }
}
